import request from "../utils/request.js"

export function add(comment){
    return request.post("/comment/add",comment)
}

export function getCommentsByBlogId(blogId){
    return request.get("/comment/getCommentsByBlogId",{
        params: {
            blogId: blogId
        }
    })
}
